<?php

namespace App\Http\Controllers;

use App\Http\Service\Brand\CategoryService;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Validator;

class CategoryController extends BaseController
{
    private $getRules=[
            'unique_id'=> 'required',
            'people_id'=> 'required',
        ];
    private  $getRulesMessage=[
            'unique_id.required'=> '唯一标识【unique_id】不能为空',
            'people_id.required'=> '用户id【people_id】不能为空',
        ];
    public $repository;
    public function __construct(CategoryService $repository)
    {
        parent::__construct();
        $this->repository = $repository;
    }
    //分类映射-列表
    public function getList(Request $request)
    {
        $data=[
            
        ];

        $this->success($this->repository->getList($request,$data));
    }
   
   

    

  

}
